/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * DialogoIngeniero.java
 *
 * Created on May 9, 2010, 2:44:25 PM
 */

package gui;

import javax.swing.JDialog;


/**
 *
 * @author Snailin
 */
public class DialogoIngeniero extends JDialog {
    private PanelIngeniero panelIngeniero=null;
    private static DialogoIngeniero instancia=null;

    public static DialogoIngeniero getInstancia() {
        if(instancia==null){
            instancia=new DialogoIngeniero();
        }
        return instancia;
    }



    /** Creates new form DialogoIngeniero */
    public DialogoIngeniero() {
          super();
          this.setModal(true);
          initComponents();
          this.setTitle("Mantenimiento de Ingeniero");
          this.setContentPane(getJContentPane());
          this.setSize(390, 440);
       
       
       
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
  
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setBackground(new java.awt.Color(204, 204, 204));
        setResizable(false);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 350, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 443, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
 
    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

   	private PanelIngeniero getJContentPane() {

		if(panelIngeniero==null){
                     panelIngeniero=new PanelIngeniero();
                }
                     
                     return panelIngeniero;

        }
}
